<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ taglib uri="/WEB-INF/tlds/att.tld" prefix="att"%>
<html>

<head>
<meta name="decorator" content="moduleEdit" />
<script type="text/javascript" src="${staticPath}/js/decimalinput.js"></script>
<link rel="stylesheet" href="${staticPath}/lib/ztree/3.5/css/zTreeStyle/zTreeStyle.css" type="text/css">
<script src="${staticPath}/js/jquery-dialog.js" type="text/javascript"></script>
<script src="${staticPath}/lib/ztree/3.5/js/jquery.ztree.all-3.5.js"type="text/javascript"></script>
<link href="${staticPath}/lib/chosen/1.1.0/chosen.min.css" rel="stylesheet" type="text/css">
<script src="${staticPath}/lib/chosen/1.1.0/chosen.jquery.js" type="text/javascript"></script>
<script src="${staticPath}/js/ossp-jquery-chosen.js" type="text/javascript"></script>
<style type="text/css">

</style>
</head>
<body>

	<div class="Report_f">
		<div class="Report_f_1">
				<div class="Report_f_title_1">百货招商标准-查看</div>
					<div class="tab-content Report_f_title_3 ">
						<div class="Report_f_title_4">
						<div class="f_2">
								<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">标准名称:</label>
										<div class="col-sm-6 f_6">
												${standard.standardName}
										</div>
								</div>
								<div class="form-group col-sm-6">
									
								</div>
						</div>
						
						
							<div class="f_2">
									<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">管理区域:</label>
										<div class="col-sm-6 f_6">
											<div class="input-group">
												${standard.area}
											</div>
										</div>
									</div>
									<div class="form-group col-sm-6">
										<div>
											<label for="inputtext3" class="col-sm-3 control-label f_4">门店:</label>
											<div class="col-sm-6 f_6">
												${standard.store}
											</div>
										</div>
									</div>
								</div>
					
						<div class="f_2">
									<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">合作类型:</label>
										<div class="col-sm-6 f_6">
										<ossp:value dictType="SUPPIER_OPERATION" key="${standard.corpType}"></ossp:value>
											
										</div>
								</div>
						
								<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">租金平效:</label>
										<div class="col-sm-6 f_6">
												<fmt:formatNumber value="${standard.contractEffect}" pattern="0.00#"/>
										</div>
								</div>
						</div>
						<div class="f_2">
								<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">基扣上限:</label>
										<div class="col-sm-6 f_6">
											
											<fmt:formatNumber value="${standard.basicRateMax}" pattern="0.00#"/>
										</div>
								</div>
								<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">基扣 下限:</label>
										<div class="col-sm-6 f_6">
											
											<fmt:formatNumber value="${standard.basicRateMin}" pattern="0.00#"/>
										</div>
								</div>
						</div>
					
					<div class="f_2">
								<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">超扣标准上限:</label>
										<div class="col-sm-6 f_6">
										<fmt:formatNumber value="${standard.overRateMax}" pattern="0.00#"/>
												
										</div>
								</div>
								<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">超扣标准下限:</label>
										<div class="col-sm-6 f_6">
										
										<fmt:formatNumber value="${standard.overRateMin}" pattern="0.00#"/>
										</div>
								</div>
						</div>
						<div class="f_2">
						
								<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">标准类型:</label>
										<div class="col-sm-6 f_6">
											<ossp:value dictType="standardType" key="${standard.standardType}"></ossp:value>
											
										</div>
								</div>
						
							<div class="form-group col-sm-6">
								<label for="brand.brandEname" class="col-sm-3 control-label f_4">品牌:</label>
								<div class="col-sm-6 f_6">
									${standard.brandName}	
							    </div>
								</div>
							</div>
								
						
					<div class="f_2">
							<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">招商分类:</label>
										<div class="col-sm-6 f_6">
											${standard.cmcate.cateName}
										</div>
									</div>
						<div class="form-group col-sm-6">
									<label for="inputtext3" class="col-sm-3 control-label f_4">品牌等级:</label>
										<div class="col-sm-6 f_6">
											${standard.level.levelName}	
										</div>	
								</div>
						</div>
						<!-- *************************************************** -->	
						<div class="f_2">

									<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">起始日期:</label>

										<div class="col-sm-7">
										
										<fmt:formatDate value="${standard.startDate}" pattern="yyyy-MM-dd"/>	
										</div>
									</div>

									<div class="form-group col-sm-6">
										<label for="inputtext3" class="col-sm-3 control-label f_4">终止日期:</label>
										<div class="col-sm-7">
										<fmt:formatDate value="${standard.endDate}" pattern="yyyy-MM-dd"/>
										
											
										</div>
									</div>

						</div>
						
						<div class="f_2">
									<h4>
										扣款项  
									</h4>

									<table class="table table-striped table-hover o-l-table" id="codeTable">
									<thead>
											<tr>
												<th>扣款项<span style="color: red;" style="width: 300px">*</span></th>
												<th style="width: 150px">上限</th>
												<th style="width: 150px">下限</th>
												<th style="width: 150px">面积上限</th>
												<th style="width: 150px">面积下限</th>
											</tr>
										</thead>
									<tbody>
									
									
									<c:forEach items="${assItemsList}" var="items" varStatus="i">
										<tr id="hidden_contact">
											 <td class="o-l-tab-ckb">
												${items.article.articleName}
											</td>
											<td class="o-l-tab-ckb">
											
											<fmt:formatNumber value="${items.amountMax}" pattern="0.00#"/>
											
											</td>
											<td class="o-l-tab-ckb">
												<fmt:formatNumber value="${items.amountMin}" pattern="0.00#"/>
												
											</td>
											<td class="o-l-tab-ckb">
											
											<fmt:formatNumber value="${items.areaMax}" pattern="0.00#"/>
											
											</td>
											<td class="o-l-tab-ckb">
												<fmt:formatNumber value="${items.areaMin}" pattern="0.00#"/>
												
											</td>
										</tr>
									</c:forEach>
									</tbody>
									
								</table>
						
					</div>
				</div>	
		
				</div>
	</div>
		</div>

<script type="text/javascript">
	$('.startDate').datetimepicker({
        language:  'zh-CN',
        weekStart: 1,
        todayBtn:  1,
		autoclose: 1,
		todayHighlight: 1,
		startView: 2,
		minView: 2,
		forceParse: 0,
		format: 'yyyy-mm-dd'
    })

	$('.endDate').datetimepicker({
        language:  'zh-CN',
        weekStart: 1,
        todayBtn:  1,
		autoclose: 1,
		todayHighlight: 1,
		startView: 2,
		minView: 2,
		forceParse: 0,
		format: 'yyyy-mm-dd'
    })

</script>
</body>
</html>